﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="FaqList.aspx.cs" Inherits="FaqList" EnableViewState="false"%>

<%@ Register Src="control/SortMenu.ascx" TagName="SortMenu" TagPrefix="uc1" %>
<%@ Register Src="control/Search.ascx" TagName="Search" TagPrefix="uc2" %>
<%@ Register Src="control/Subject.ascx" TagName="Subject" TagPrefix="uc3" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="control/Phone.ascx" TagName="Phone" TagPrefix="uc4" %>
<%@ Register Src="control/Technology.ascx" TagName="Technology" TagPrefix="uc5" %>
<%@ Register Src="control/InnerTopDoctor.ascx" TagName="InnerTopDoctor" TagPrefix="uc6" %>
<%@ Register Src="control/FaqFrm.ascx" TagName="FaqFrm" TagPrefix="uc7" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <uc1:SortMenu ID="SortMenu1" runat="server" />
    <uc2:Search ID="Search1" runat="server" />
    <div class="page_panel">
        <div class="panel_left">
            <div class="title">
                当前位置：<a href="/" target="_blank" title="主页">主页</a> >
                <asp:Literal ID="ltlPageUrl" runat="server"></asp:Literal></div>
            <div class="faq_list">
                <div class="faqsortlist" id="faqsortlist" runat="server">
                    <div class="faqsortinner">
                        <h3>
                            <asp:Literal ID="ltlSortName" runat="server"></asp:Literal></h3>
                        <div class="faqsubsortlist">
                            <asp:Repeater ID="rptSort" runat="server">
                                <ItemTemplate>
                                    <a href="/faq/<%#Eval("PageUrlName")%>/" title="<%#Eval("Name")%>" target="_blank">
                                        <%#Eval("Name")%></a>
                                </ItemTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                </div>
                <div class="table_div">
                    <table width="673" cellspacing="0" cellpadding="0" border="0" class="faq_table_list">
                        <thead>
                            <tr>
                                <th>
                                    问题标题
                                </th>
                                <th>
                                    人气
                                </th>
                                <th style="width: 70px;">
                                    时间
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <asp:Repeater ID="rptFaq" runat="server">
                                <ItemTemplate>
                                    <tr>
                                        <td>
                                            <a href="/faq/<%#Eval("SortUrlName")%>/<%#Eval("id")%>.html" title="<%#Eval("Title")%>"
                                                target="_blank">
                                                <%#Server.HtmlEncode(Eval("Title").ToString())%></a>
                                        </td>
                                        <td align="center">
                                            <%#Eval("Touch")%>
                                        </td>
                                        <td align="center">
                                            <%#Convert.ToDateTime(Eval("AddTime")).ToString("yyyy-MM-dd")%>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                            <tr id="noData" runat="server">
                                <td colspan="3" align="center" class="red">
                                    没有任何信息
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <div class="webpage">
                        <webdiyer:AspNetPager ID="anpPage" runat="server" OnPageChanging="anpPage_PageChanging"
                            CurrentPageButtonClass="curPage" PageSize="15">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
            </div>
            <uc7:FaqFrm ID="FaqFrm1" runat="server" />
            <div class="title">
                最新问题</div>
            <div class="faq_list">
                <div class="newfaq newfaq1">
                    <ul>
                        <asp:Repeater ID="rptFaq1" runat="server">
                            <ItemTemplate>
                                <li><a href="/faq/<%#Eval("SortUrlName")%>/<%#Eval("id")%>.html" title="<%#Eval("Title")%>"
                                    target="_blank">
                                    <%#Server.HtmlEncode(Eval("Title").ToString())%></a></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
            </div>
        </div>
        <div class="panel_right">
            <div class="panel_item">
                <uc4:Phone ID="Phone1" runat="server" />
            </div>
            <div class="panel_item subject_sort margintop">
                <uc3:Subject ID="Subject" runat="server" />
            </div>
            <div class="panel_item margintop">
                <uc5:Technology ID="Technology1" runat="server" />
            </div>
            <div class="panel_item margintop">
                <uc6:InnerTopDoctor ID="InnerTopDoctor1" runat="server" />
            </div>
        </div>
    </div>
</asp:Content>
